package cn.gson.fengboot.model.service;


import cn.gson.fengboot.model.mapper.QpurchaseMapper;
import cn.gson.fengboot.model.pojos.QpurchaseEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class QpurchaseService {
    @Autowired
    QpurchaseMapper qpurchaseMapper;


    public List<QpurchaseEntity> caigouList(){
        return qpurchaseMapper.caigouList();
    }
}
